package com.stone.framework.message.user;

import java.util.List;

import io.swagger.annotations.ApiModelProperty;

public class PermissionTreeResBody {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "描述")
    private String desc;

    @ApiModelProperty(value = "顺序")
    private Integer order;

    @ApiModelProperty(value = "是否授权：Y|N")
    private String granted;

    @ApiModelProperty(value = "下级节点")
    private List<PermissionTreeResBody> children;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public String getGranted() {
        return granted;
    }

    public void setGranted(String granted) {
        this.granted = granted;
    }

    public List<PermissionTreeResBody> getChildren() {
        return children;
    }

    public void setChildren(List<PermissionTreeResBody> children) {
        this.children = children;
    }

}
